package com.crm.service;



import com.crm.common.result.AjaxResult;
import com.crm.domain.Dept;
import com.crm.domain.DeptTreeResult;
import com.crm.dto.DeptListDto;
import com.crm.dto.Vo.DeptTreeVo;

import java.util.List;

public interface DeptService {

    AjaxResult deleteDept(Long id);

    AjaxResult updateDept(Dept dept);

    AjaxResult addDept(Dept dept);


    AjaxResult queryDeptList(DeptListDto dto);

    DeptTreeResult roleDeptTreeselect(Long roleId);

    AjaxResult queryDept(Long id);

    List<DeptTreeVo> treeSelect();

}
